package com.sunni.generator.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 导航栏配置表
 * </p>
 *
 * @author jl
 * @since 2022-02-22
 */
@TableName("zy_navigation_config")
@ApiModel(value = "NavigationConfig对象", description = "导航栏配置表")
public class NavigationConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("导航配置表主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("功能")
    private String function;

    @ApiModelProperty("是否默认 0否 1是")
    private Integer isDefault;

    @ApiModelProperty("默认图标")
    private String defaultIcon;

    @ApiModelProperty("选中图标")
    private String checkdIcon;

    @ApiModelProperty("顶部标题")
    private String topTitle;

    @ApiModelProperty("顶部背景颜色")
    private String topBgColor;

    @ApiModelProperty("标题颜色")
    private String topTitleColor;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("是否启用 0否 1是")
    private Integer enabled;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("创建人")
    private String createUser;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("更新人")
    private String updateUser;

    @ApiModelProperty("是否默认 0否 1是")
    private Integer isDelete;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFunction() {
        return function;
    }

    public void setFunction(String function) {
        this.function = function;
    }

    public Integer getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(Integer isDefault) {
        this.isDefault = isDefault;
    }

    public String getDefaultIcon() {
        return defaultIcon;
    }

    public void setDefaultIcon(String defaultIcon) {
        this.defaultIcon = defaultIcon;
    }

    public String getCheckdIcon() {
        return checkdIcon;
    }

    public void setCheckdIcon(String checkdIcon) {
        this.checkdIcon = checkdIcon;
    }

    public String getTopTitle() {
        return topTitle;
    }

    public void setTopTitle(String topTitle) {
        this.topTitle = topTitle;
    }

    public String getTopBgColor() {
        return topBgColor;
    }

    public void setTopBgColor(String topBgColor) {
        this.topBgColor = topBgColor;
    }

    public String getTopTitleColor() {
        return topTitleColor;
    }

    public void setTopTitleColor(String topTitleColor) {
        this.topTitleColor = topTitleColor;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getEnabled() {
        return enabled;
    }

    public void setEnabled(Integer enabled) {
        this.enabled = enabled;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    @Override
    public String toString() {
        return "NavigationConfig{" +
                "id=" + id +
                ", name=" + name +
                ", function=" + function +
                ", isDefault=" + isDefault +
                ", defaultIcon=" + defaultIcon +
                ", checkdIcon=" + checkdIcon +
                ", topTitle=" + topTitle +
                ", topBgColor=" + topBgColor +
                ", topTitleColor=" + topTitleColor +
                ", sort=" + sort +
                ", enabled=" + enabled +
                ", createTime=" + createTime +
                ", createUser=" + createUser +
                ", updateTime=" + updateTime +
                ", updateUser=" + updateUser +
                ", isDelete=" + isDelete +
                "}";
    }
}
